import OrderState from '@/enums/OrderState'
import { Page } from './page'

export class ShopOrderPageParam extends Page {
  // 订单号
  orderNo: string

  // 手机号
  phone: string

  // 开始时间
  startTime: Date

  // 结束时间
  endTime: Date

  // 订单状态
  orderState: number = OrderState.WAITING_FOR_ACCEPTANCE
}

export class ShopRejectOrderParam {
  /**
   * 要拒单的订单id
   */
  orderId: number
  /**
   * 原因
   */
  reason: string
}
